package moxl.relaxng.schema.patterns;

import moxl.relaxng.schema.Pattern;

public class AfterPattern implements Pattern
{
	private final Pattern firstPattern;
	private final Pattern secondPattern;

	public AfterPattern(Pattern firstPattern, Pattern secondPattern)
    {
		this.firstPattern = firstPattern;
		this.secondPattern = secondPattern;
    }
	
	public Pattern getFirstPattern()
    {
    	return firstPattern;
    }

	public Pattern getSecondPattern()
    {
    	return secondPattern;
    }

	public boolean nullable()
    {
	    return false;
    }

}
